<?php

/**
 * Project: CrazyPoems
 * Author: Alexandru
 * Date: 09/09/2009
 * File: export.php
 */

// Load default settings.
require('inc/config.php');
require('inc/functions.misc.php');
require('inc/functions.index.php');

// Get parameters

$poems = exportPoems();

foreach ($poems as $poem) {
	echo '<h1>'.$poem['title'].'</h1>';
	echo '<p>'.$poem['poem'].'</p>';
}

// End page.
require('inc/end.php');
?>
